package com.jiangjiang.eshop.membership.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName MemberPointEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/4 17:50
 * @Version 1.0
 **/
@Data
public class MemberPointEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 用户账号id
     */
    @TableField("user_account_id")
    private Long userAccountId;
    /**
     * 会员等级
     */
    @TableField("point")
    private Long point;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
